// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueAMap from 'vue-amap';
import App from './App'
import router from './router'
import store from './store/index.js'
import MintUI from 'mint-ui'
import $ from 'jquery'
import 'mint-ui/lib/style.css'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min.js'
import 'jquery/dist/jquery.min.js'

Vue.config.productionTip = false
Vue.use(MintUI)
Vue.use(VueAMap);
VueAMap.initAMapApiLoader({
  key: 'dd9d56760d3328c1f498228a0fb2022c',
  plugin: ['AMap.Autocomplete','AMap.Geocoder','AMap.Geolocation', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
  // 默认高德 sdk 版本为 1.4.4
  v: '1.4.4'
});

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
